// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
import request from '@/plugins/request';

/**
 *商品列表-获取列表头
 */
export function freightHeaderInfo(data) {
    return request({
        url: '/freight/type_header',
        method: 'get',
        params: data
    });
}


/**
 * 入库单列表
 */
export function freightList(data) {
    return request({
        url: `/freight/list`,
        method: 'get',
        params: data
    });
}

export function freightInfoApi(id) {
    return request({
        url: `/freight/findStoreFreight/${id}`,
        method: 'get'
    });
}

export function freightInfoExcelFileApi(id) {
    return request({
        url: `/freight/findStoreFreightExcelFile/${id}`,
        method: 'get'
    });
}

export function findStoreFreightOperationLogId(id) {
    return request({
        url: `/freight/findStoreFreightOperationLogId/${id}`,
        method: 'get'
    });
}

export function findStoreFreightByBizId(id) {
    return request({
        url: `/freight/findStoreFreightByBizId/${id}`,
        method: 'get'
    });
}


